package ar.org.cfired.creditos.parametros;
import java.util.Date;
import java.math.BigInteger;
public class EstadosLog {
	
	private Integer log_id;
	private BigInteger log_task;
	private String log_execution_id;
	private String est_id;
	private Date log_fecha;
	private String log_usuario;
	private BigInteger log_instance;
	
	public void setLogId (Integer log_id) {
		this.log_id = log_id;
	}
	public Integer getLogId() {
		return (this.log_id);
	}

	public void setLogTask (BigInteger log_task) {
		this.log_task = log_task;
	}
	public BigInteger getLogTask() {
		return (this.log_task);
	}

	public void setLogExecutionId (String log_execution_id) {
		if (log_execution_id != null)
			this.log_execution_id = log_execution_id.substring(0, Math.min(255, log_execution_id.length()));
		else
			this.log_execution_id = new String();
	}
	public String getLogExecutionId() {
		return (this.log_execution_id);
	}

	public void setEstId (String est_id) {
		if (est_id != null)
			this.est_id = est_id.substring(0, Math.min(2, est_id.length()));
		else
			this.est_id = new String();
	}
	public String getEstId() {
		return (this.est_id);
	}

	public void setLogFecha (Date log_fecha) {
		this.log_fecha = log_fecha;
	}
	public Date getLogFecha() {
		return (this.log_fecha);
	}

	public void setLogUsuario (String log_usuario) {
		if (log_usuario != null)
			this.log_usuario = log_usuario.substring(0, Math.min(50, log_usuario.length()));
		else
			this.log_usuario = new String();
	}
	public String getLogUsuario() {
		return (this.log_usuario);
	}
	
	public void setLogInstance (BigInteger log_instance) {
			this.log_instance = log_instance;	
	}
	public BigInteger getLogInstance() {
		return (this.log_instance);
	}
}
